package com.example.fresh_fruit.mapper;


import com.example.fresh_fruit.entity.Supplier;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author :飞天の鱼
 * @date : 2022/8/16 16:40
 */
@Repository
public interface SupplierMapper {
    boolean insert(Supplier supplier);

    boolean delete(Integer id);

    boolean update(Supplier supplier);

    List<Supplier> findByName(String name);

    List<Supplier> selectAll();
}
